/**
 * Project Name:fire-industry-DM-center
 * File Name:DmMapApp.java
 * Package Name:com.firestone.bean.entity.elasticsearch.dm
 * Date:2018年4月18日上午10:07:52
 *
*/

package com.firestone.bean.entity.elasticsearch.dm;

import java.io.Serializable;
import java.util.List;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.DateFormat;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;
import org.springframework.data.elasticsearch.annotations.Setting;

import com.firestone.bean.entity.elasticsearch.nested.WeightJson;

/**
 * @Description: TODO(APP应用表)
 * @author lvxc
 * @date 2018年4月18日 上午10:07:52
 */

@Document(indexName = "dm_map_app", type = "index", createIndex = false)
@Setting(settingPath = "/setting/setting.json")
public class DmMapApp implements Serializable{
    
    private static final long serialVersionUID = 1L;
    
    @Id
    private String id;

    /**
     * @Fields SYS_add_time : TODO(添加时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_add_time;

    /**
     * @Fields SYS_check_time : TODO(检验时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_check_time;

    /**
     * @Fields SYS_dm_update_time : TODO(更改时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_dm_update_time;
    
    /**
     * @Fields author : TODO(开发者)
     */
    @Field(type = FieldType.keyword)
    private String author;
    
    /**
     * @Fields certification : 
     */
    @Field(type = FieldType.keyword)
    private String certification;
    
    /**
     * @Fields comments : TODO(评论)
     */
    @Field(type = FieldType.keyword)
    private String comments;
    
    /**
     * @Fields competitor : 
     */
    @Field(type = FieldType.keyword)
    private String competitor;
    
    /**
     * @Fields describer : TODO(描述介绍)
     */
    @Field(type = FieldType.keyword)
    private String describer;
    
    /**
     * @Fields download_times : TODO(下载次数)
     */
    @Field(type = FieldType.keyword)
    private String download_times;
    
    /**
     * @Fields ext_company : TODO(详细地址)
     */
    @Field(type = FieldType.text, analyzer="tab_analyzer")
    private String ext_company;
    
    /**
     * @Fields homeurl : TODO(官网URL)
     */
    @Field(type = FieldType.keyword)
    private String homeurl;
    
    /**
     * @Fields iconurl : TODO(图标URL)
     */
    @Field(type = FieldType.keyword)
    private String iconurl;
    
    /**
     * @Fields is_core_product : 
     */
    @Field(type = FieldType.keyword)
    private String is_core_product;
    
    /**
     * @Fields name : TODO(app名称)
     */
    @Field(type = FieldType.keyword)
    private String name;
    
    /**
     * @Fields platform : TODO(发布平台：appstor: 1)
     */
    @Field(type = FieldType.keyword)
    private String platform;
    
    /**
     * @Fields psize : TODO(应用大小)
     */
    @Field(type = FieldType.keyword)
    private String psize;
    
    /**
     * @Fields qrcode_url : TODO(二维码url)
     */
    @Field(type = FieldType.keyword)
    private String qrcode_url;
    
    /**
     * @Fields sales_state : 
     */
    @Field(type = FieldType.keyword)
    private String sales_state;
    
    /**
     * @Fields star : TODO(应用评分)
     */
    @Field(type = FieldType.keyword)
    private String star;
    
    /**
     * @Fields uninstall_times : TODO(卸载次数)
     */
    @Field(type = FieldType.keyword)
    private String uninstall_times;
    
    /**
     * @Fields version : TODO(版本)
     */
    @Field(type = FieldType.keyword)
    private String version;
    
    /**
     * @Fields weight_json : TODO(字段来源)
     */
    @Field(type = FieldType.Nested)
    private List<WeightJson> weight_json;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSYS_add_time() {
        return SYS_add_time;
    }

    public void setSYS_add_time(String sYS_add_time) {
        SYS_add_time = sYS_add_time;
    }

    public String getSYS_check_time() {
        return SYS_check_time;
    }

    public void setSYS_check_time(String sYS_check_time) {
        SYS_check_time = sYS_check_time;
    }

    public String getSYS_dm_update_time() {
        return SYS_dm_update_time;
    }

    public void setSYS_dm_update_time(String sYS_dm_update_time) {
        SYS_dm_update_time = sYS_dm_update_time;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getCertification() {
        return certification;
    }

    public void setCertification(String certification) {
        this.certification = certification;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public String getCompetitor() {
        return competitor;
    }

    public void setCompetitor(String competitor) {
        this.competitor = competitor;
    }

    public String getDescriber() {
        return describer;
    }

    public void setDescriber(String describer) {
        this.describer = describer;
    }

    public String getDownload_times() {
        return download_times;
    }

    public void setDownload_times(String download_times) {
        this.download_times = download_times;
    }

    public String getExt_company() {
        return ext_company;
    }

    public void setExt_company(String ext_company) {
        this.ext_company = ext_company;
    }

    public String getHomeurl() {
        return homeurl;
    }

    public void setHomeurl(String homeurl) {
        this.homeurl = homeurl;
    }

    public String getIconurl() {
        return iconurl;
    }

    public void setIconurl(String iconurl) {
        this.iconurl = iconurl;
    }

    public String getIs_core_product() {
        return is_core_product;
    }

    public void setIs_core_product(String is_core_product) {
        this.is_core_product = is_core_product;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public String getPsize() {
        return psize;
    }

    public void setPsize(String psize) {
        this.psize = psize;
    }

    public String getQrcode_url() {
        return qrcode_url;
    }

    public void setQrcode_url(String qrcode_url) {
        this.qrcode_url = qrcode_url;
    }

    public String getSales_state() {
        return sales_state;
    }

    public void setSales_state(String sales_state) {
        this.sales_state = sales_state;
    }

    public String getStar() {
        return star;
    }

    public void setStar(String star) {
        this.star = star;
    }

    public String getUninstall_times() {
        return uninstall_times;
    }

    public void setUninstall_times(String uninstall_times) {
        this.uninstall_times = uninstall_times;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public List<WeightJson> getWeight_json() {
        return weight_json;
    }

    public void setWeight_json(List<WeightJson> weight_json) {
        this.weight_json = weight_json;
    }
    
    

}

